import request from '@/utils/request'
// 前缀
var group_name = 'log'
export default {
  findByPage(pageBean) { // 后台分页查询
    return request({
      url: `/${group_name}/findByPage`,
      method: 'post',
      data: pageBean
    })
  },
  deleteById(id) { // 根据id删除
    return request({
      url: `/${group_name}/delete/${id}`,
      method: 'get'
    })
  },
  deleteByIds(ids) { // 批量删除
    return request({
      url: `/${group_name}/deleteByIds`,
      method: 'put',
      data: ids
    })
  }
}
